package com.lovo.shopSys.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data //商品描述
@TableName(value = "sys_shopInfo")
public class ShopInfoEntity {  //添加商品时 商品和其描述的添加顺序？
   @TableId(value = "shopInfoId")
    private long shopInfoId;
   @TableField(value = "shopInfoWeigh")
    private String shopInfoWeigh; //分量
    @TableField(value = "shopInfoMaterial")
    private String shopInfoMaterial; //原料

    private GoodsEntity goodsEntity;
}
